CoreOS Essentials by Mocevicius Rimantas

CoreOS Essentials by Mocevicius Rimantas

Author:Mocevicius, Rimantas
Language: eng
Format: epub
Publisher: Packt Publishing
Published: 2015-06-28T16:00:00+00:00


Creating our cluster workers

In order to create the cluster workers, the command to be used is as follows:

$ ./create_cluster_workers.sh

Make a note of the workers' external IPs, as shown in the previous screenshot; we will need them later.

Of course, you can always check them at the Google Developers Console too.

Let's check out what we have inside the test1.yaml and staging1.yaml files in the cloud-config folder. Run the following command:

$ cat test1.yaml #cloud-config coreos: etcd2: listen-client-urls: http://0.0.0.0:2379,http://0.0.0.0:4001 initial-cluster: control1=http://10.200.1.1:2380 proxy: on fleet: public-ip: $public_ipv4 metadata: "role=worker,cpeer=tsc-test1" units: - name: etcd2.service command: start - name: fleet.service command: start - name: docker.service command: start drop-ins: - name: 50-insecure-registry.conf content: | [Unit] [Service] Environment=DOCKER_OPTS='--insecure-registry="0.0.0.0/0"' # end of cloud-config



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.